package com.hl.icd.exception;

public enum ICDEnum {

    //001代表与用户相关的错误
    USER_LOGIN_ACCOUNT("001-001","用户名或密码错误"),
    USER_SIGN_UP_FAILED("001-002","账号创建失败！");


    private String typeCode;
    private String message;

    ICDEnum(String typeCode, String message) {
        this.typeCode = typeCode;
        this.message = message;
    }

    public String getTypeCode() {
        return typeCode;
    }

    public void setTypeCode(String typeCode) {
        this.typeCode = typeCode;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
